package com.tsystems.school;

/**
 * Created by IntelliJ IDEA.
 * User: victorn
 * Date: 8/18/11
 * Time: 5:11 PM
 * To change this template use File | Settings | File Templates.
 */
public class Task {

    private int sleepTimeout;

    public Task(int timeout) {
        sleepTimeout = timeout;
    }

    public void doTask() {
        try {
            Thread.sleep(sleepTimeout);
        } catch (InterruptedException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
    }

}
